package com.example.play.intent

import com.example.common.entity.CommendEntity
import com.example.common.entity.DanmuEntity
import com.example.common.intent.BaseViewIntent

sealed class PlayViewIntent: BaseViewIntent(){
    //获取视频作者信息
    data class LoadAuthorById(val userid:String):PlayViewIntent()

    //获取首页推荐视频
    data class LoadRecommendSimpleVideo(val page: Int,val pageSize: Int):PlayViewIntent()

    //获取首页分类下的视频
    data class LoadSimpleVideoByChannelId(val channelId: String ,val page: Int,val pageSize: Int):PlayViewIntent()

    //获取放映厅推荐视频
    data class LoadRecommendMutilVideo(val page: Int,val pageSize: Int):PlayViewIntent()

    //获取放映厅分类下视频
    data class LoadMutilVideoByTypeId(val typeid: Int ,val page: Int,val pageSize: Int):PlayViewIntent()

    //获取视频评论
    data class LoadVideoCommends(val dataType: Int ,val itemId: String):PlayViewIntent()

    //发布评论
    data class PublishComment(val entity: CommendEntity):PlayViewIntent()

    //发布弹幕
    data class PublishDanmuMsg(val entity: DanmuEntity):PlayViewIntent()

    //获取弹幕
    data class LoadVideoDanmuMsg(val datatype: Int ,val itemid: String):PlayViewIntent()
}